# 定义函数读取json数据
import json


def read_json_data():
    # with open("../data/ihrm_login.json", "r", encoding="utf-8") as f:
    with open("../data/add_emp.json", "r", encoding="utf-8") as f:
        data = json.load(f)
        list_data = []
        for i in data:
            tum = tuple(i.values())
            list_data.append(tum)
        return list_data


if __name__ == '__main__':
    res = read_json_data()
    print(res)